import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { Provider } from "react-redux";
import { BrowserRouter, RouterProvider } from "react-router-dom";

import "./index.css";
import "@fontsource/roboto/300.css";
import "@fontsource/roboto/400.css";
import "@fontsource/roboto/500.css";
import "@fontsource/roboto/700.css";
import store from "./store/index.ts";
import router from "./router/router.tsx";

createRoot(document.getElementById("root")!).render(
  <StrictMode>
    <Provider store={store}>
      <div>
        ssss
        {/* <BrowserRouter> */}
        <RouterProvider router={router}></RouterProvider>
        {/* </BrowserRouter> */}
      </div>
    </Provider>
  </StrictMode>
);
